package com.liukai.java_jxgl.mapper;


import com.liukai.java_jxgl.model.SystemUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IUserMapper {

    SystemUser getUserByUserName(String username);

    SystemUser getUserByUserId(Integer userId);

    List<SystemUser> getAllUser();

    SystemUser updateUserByUserId(SystemUser user);

    List<SystemUser> getUserByUserType(Integer userType);

}
